package com.wanmait.recruitment.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.recruitment.mapper.ResumeStateMapper;
import com.wanmait.recruitment.pojo.ResumeState;
import com.wanmait.recruitment.service.ResumeStateService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class ResumeStateServiceImpl implements ResumeStateService {
    @Resource
    private ResumeStateMapper resumeStateMapper;

    @Override
    public void insert(ResumeState object) {
        resumeStateMapper.insert(object);
    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(ResumeState object) {

    }

    @Override
    public ResumeState findById(Integer id) {
        return null;
    }

    @Override
    public List<ResumeState> findAll() {
        return null;
    }

    @Override
    public List<ResumeState> findAll(ResumeState object) {
        return null;
    }

    @Override
    public PageInfo<ResumeState> findPage(int pageNum, int pageSize) {
        return null;
    }

    @Override
    public int updateUndetermined(ResumeState resumeState) {
        return resumeStateMapper.updateUndetermined(resumeState);
    }

    @Override
    public int inappropriate(ResumeState resumeState) {
        return resumeStateMapper.inappropriate(resumeState);
    }

    @Override
    public int updateAdopt(ResumeState resumeState) {
        return resumeStateMapper.updateAdopt(resumeState);
    }
}
